package com.hqq.action.middle.visitor;

/**
 * VisitorTest
 * Created by heqianqian on 2017/3/11.
 */
public class VisitorTest {
    public static void main(String[] args) {
        Visitor visitor = new MyVisitor();
        Subject subject = new MySubject();
        subject.accept(visitor);
    }
}
